package com.demo.service;

import com.alibaba.fastjson.JSON;
import com.demo.bean.UserDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * UserService
 *
 * @author liujin
 * @date 2020/11/4 17:23
 */
@Service
@Slf4j
public class UserService {

    public void user(UserDTO dto) {
        log.info("----> userService");
        System.out.println("----> userService");
        System.out.println(JSON.toJSON(dto));
    }
}
